package org.sifebint.backend.model;

import java.util.List;
import java.util.Map;

public class ReportResult {
  
  public enum Result { SUCCESS, NO_CONNECTION, BAD_QUERY, MISSING_JDBC_DRIVER, UNKNOWN_ERROR }
  
  private List<Map<String, Object>> data; 
  
  private Result result;
  
  private String errorComment;
  
  public void setData(List<Map<String, Object>> data) {
    this.data = data;
  }
  
  public List<Map<String, Object>> getData() {
    return data;
  }
  
  public void setResult(Result result) {
    this.result = result;
  }
  
  public Result getResult() {
    return result;
  }
  
  public void setErrorComment(String errorComment) {
    this.errorComment = errorComment;
  }
  
  public String getErrorComment() {
    return errorComment;
  }
  
}
